14.2.6 REST Person Edited notification

The REST Person Edited event sends a notification to a REST web service when a person's account is edited in MyID.

If you configure an external system with the name REST Person Edited and specify the corresponding mapping file RESTPersonEdited.xml, you can configure MyID to respond to the event with the following.

14.2.6.1 Endpoint

PATCH /people/{People.ObjectID}/personEdited

14.2.6.2 Data

Copy
{
  "person": {
    "id": "<object ID of the person>",
    "account": {
      "dn": "<person Distinguished Name>",
      "domain": "<domain>",
      "samAccountName": "<SAM account name>",
      "upn": "<UPN>"
    },
    "contact": {
      "emailAddress": "<email>"
    },
    "employeeId": "<employee id>",
    "enabled": "<0|1>",
    "name": {
      "first": "<first name>",
      "fullName": "<full name>",
      "last": "<last name>"
    },
    "group": {
      "id": "<object ID of the group>",
      "name": "<group name>"
    },
    "logonName": "<logon name>"
  }
}

14.2.6.3 Expected response

A 200 OK response in the event of success.